//
// Created by dcang on 2021/7/12.
//

#ifndef NDKDEMO_YCBASEPLAYER_H
#define NDKDEMO_YCBASEPLAYER_H
extern "C"
{
#include <libavcodec/avcodec.h>
};

class YcBasePlayer {
public:
    int streamIndex;
    int duration;
    double clock = 0;
    double now_time = 0;
    AVCodecContext *avCodecContext = NULL;
    AVRational time_base;

public:
    YcBasePlayer();
    ~YcBasePlayer();
};


#endif //NDKDEMO_YCBASEPLAYER_H
